package com.example.jdk_demo1;

import java.util.Observable;

public class ConcreteSubject extends Observable {

    public void changeState() {
        setChanged();
        notifyObservers("wadawdawdawdawdwda");
    }

}
